<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">


    <f:view contentType="text/html">

        <f:metadata>
            <f:event type="preRenderView" listener="#{usuarioSession.checkLogin}"/>
        </f:metadata>

        <h:head>
            <title>#{empresaMB.empresa.nombreFantasia}</title>          

            <h:outputStylesheet library="css" name="estructura.css"/>
            <h:outputStylesheet library="css" name="estilos.css"/>
            <h:outputStylesheet library="css" name="imagenes.css"/>
            <ui:insert name="head"></ui:insert>
        </h:head>

        <h:body>

            <div class="envoltura">

                <div class="contenidoGral">       

                    <!-- Header -->
                    <div class="header">
                        <ui:include src="../global/monitorSession.xhtml" />
                        <ui:include src="cabecera.xhtml" />
                    </div>

                    <div class="contenido" id="contenido">

                        <div class="panelIzquierdo">
                            <ui:insert name="panelIzquierdo" id="panelIzquierdo" />
                        </div>

                        <div class="panelDerecho">
                            <ui:insert name="panelDerecho" id="panelDerecho" />
                        </div>

                    </div>

                    <div class="piePagina">
                        <ui:insert name="pie">
                            <!--<ui:include src="pie.xhtml" />-->
                        </ui:insert>
                    </div>
                </div>



            </div>
        </h:body>
    </f:view>
</html>
